|
Poster:
|
Chipaca |
Date:
|
July 02, 2003 02:24:25am |
|
Forum:
|
etree
|
Subject:
|
Re: can I post .ape files? |
In general, all you need to do is to pipe the output of 'shorten -x' into the input of your encoder. For example, just last night I did
for i in *.shn; do
shorten -x "$i" - |
oggenc -q6 -a 'Jack Johnson' -d '2002-11-14' -N "1-${i:0:2}" -l "Live at Orpheum Theatre, Boston, MA" -t "${i:5:$((${#i}-9))}" -o "${i/%shn/ogg}" -
done
(sure, it's more complicated than you asked, but I had it in my history).
If you look at the manpages, you'll notice that most of the encoders out there (with the exception of l3enc) take a file called '-' to mean standard input or output (depending where you put it). lame does this, as do oggenc and shorten in the example above; flac behaves this way too. So all you need to do is
shorten -x $file | lame - ${file/%shn/mp3}
or
flac -d -o - $file | oggenc - -o ${file/%flac/ogg}
got it?
|
Poster:
|
Jonathan Aizen |
Date:
|
July 02, 2003 05:01:31am |
|
Forum:
|
etree
|
Subject:
|
Re: can I post .ape files? |
Thanks a lot! Yes, I've got it. The only question remains: which MP3 encoder should I use and where should I get it? Is LAME agreed to be the best? Is it free/open source?
|
Poster:
|
Tyler |
Date:
|
July 02, 2003 10:27:39am |
|
Forum:
|
etree
|
Subject:
|
LAME |
to my knowledge, yes, LAME is the best one to use. As nick said, it is the best quality with the lowest file size. and yes, i believe it is open source. i have the program, but i'm unsure where i downloaded it from. i'll bet
www.download.com but i vote for LAME.
|
Poster:
|
Chipaca |
Date:
|
July 02, 2003 10:37:53am |
|
Forum:
|
etree
|
Subject:
|
Re: can I post .ape files? |
I attach /usr/share/doc/lame/copyright.
lame is at
http://lame.sf.net
lame is the best at high bitrates, which is what you want (AFAIK).
As for the options... dunno, it depends on what you're encoding. You probably want something like -V0 or maybe -V1.
Attachment: copyright
|
Poster:
|
Jonathan Aizen |
Date:
|
July 02, 2003 01:09:10pm |
|
Forum:
|
etree
|
Subject:
|
Re: can I post .ape files? |
You've been extremely helpful - thanks so much!
Jon
|
Poster:
|
Chipaca |
Date:
|
July 02, 2003 09:38:33pm |
|
Forum:
|
etree
|
Subject:
|
Re: can I post .ape files? |
re-reading my post, I notice I didn't mention this: I'm not an audiophile, which means that I am probably not the best judge of what "works best". Other people in this forum know better.
|
Poster:
|
Jonathan Aizen |
Date:
|
July 02, 2003 03:22:19pm |
|
Forum:
|
etree
|
Subject:
|
mp3 conversions |
great, i've gotten everything to work :)
i'll post some links to files at some point soon so that people can test them out and see if they're up to snuff.
then i'll try to figure out how to do the conversions with minimal down-time.
jon
|
Poster:
|
NickSD |
Date:
|
July 06, 2003 10:48:07am |
|
Forum:
|
etree
|
Subject:
|
Proper MP3 encoding |
Jon,
I would recommend using LAME 3.90.3. You can download/read about it at
http://www.hydrogenaudio.org/index.php?showtopic=203 and the linux compile can be found at
http://rarewares.hydrogenaudio.org/mp3.html
As far as what switches to use, I would suggest the following:
lame.exe --alt-preset standard infile.wav outfile.mp3
That will give you excellent quality for the bitrate (approx 192k average, but it is VBR so it will fluctuate).
Many listening tests have been performed and have shown that this switch (alt-preset standard) will pretty much always give you better quality than coming up with your own commandlines. A lot of time and effort was spent creating this preset. You shouldn't need to add any other switches (such as -V0, -V1, etc) to the commandline.
Nick
This post was modified by CousinCrispy on 2003-07-06 17:46:26
This post was modified by CousinCrispy on 2003-07-06 17:48:07
|
Poster:
|
Jonathan Aizen |
Date:
|
July 06, 2003 11:15:14am |
|
Forum:
|
etree
|
Subject:
|
Re: Proper MP3 encoding |
Thanks for the tip Nick - in my test script I was using -h but I will switch, as per your recommendation.
BTW: I see you reference lame.exe - meaning the Windows executable - does the --alt-present standard option exist for the Linux distribution?
Jon
This post was modified by Jonathan Aizen on 2003-07-06 18:15:14
|
Poster:
|
NickSD |
Date:
|
July 12, 2003 04:44:13am |
|
Forum:
|
etree
|
Subject:
|
Re: Proper MP3 encoding |
Yes, the Linux binary I linked to does contain support for the "--alt-preset standard" switch. Thanks for being open to this suggestion!